/**
 * Created by guomin on 2017/5/31.
 */
var monk = require('monk');

var mdb = monk('localhost:27017/usercollection');

var mongodb = {
  users: mdb.get('usercollection'),
  messages: mdb.get('messagecollection'),
  return_messages: mdb.get('returnMessage'),
  up_message: mdb.get('upMessage'),
  administrator: mdb.get('administrator'),
  admin_login:mdb.get('adminLogin')
};

exports = module.exports = mongodb;